/*
 * JsonValue.h
 *
 *  Created on: Jun 2, 2011
 *      Author: ToanNhan
 */

#ifndef JSONVALUE_H_
#define JSONVALUE_H_
#include "FBase.h"
#include "FText.h"
using namespace Osp::Text;

class JsonValue {
public:
	const static int JSON_OBJECT = 0;
	const static int JSON_ARRAY = 1;
protected:
	int jsonValueType;
public:
	int getType(){
		return jsonValueType;
	}
	virtual JsonValue* cloneN() = 0;
	virtual Osp::Base::String toJsonString() = 0;
	JsonValue();
	virtual ~JsonValue();
};

#endif /* JSONVALUE_H_ */
